﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace lcs.Web.inspectionMaterial
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int inspection_id=(Convert.ToInt32(strid));
					ShowInfo(inspection_id);
				}
			}
		}
		
	private void ShowInfo(int inspection_id)
	{
		lcs.BLL.inspectionMaterial bll=new lcs.BLL.inspectionMaterial();
		lcs.Model.inspectionMaterial model=bll.GetModel(inspection_id);
		this.lblinspection_id.Text=model.inspection_id.ToString();
		this.lblsubmitUid.Text=model.submitUid.ToString();
		this.lblout_storage_detail_Id.Text=model.out_storage_detail_Id.ToString();
		this.lblsubmitQuestion.Text=model.submitQuestion;
		this.lblsubmitTime.Text=model.submitTime.ToString();
		this.lblcheckUid.Text=model.checkUid.ToString();
		this.lbldealUid.Text=model.dealUid.ToString();
		this.lbldealStatus.Text=model.dealStatus.ToString();
		this.lbldealResult.Text=model.dealResult;
		this.lbldealTime.Text=model.dealTime.ToString();
		this.lbluseMoney.Text=model.useMoney.ToString();

	}


    }
}
